package com.shop.admin.service;

import com.shop.admin.validate.paper.PaperAssignCreateValidate;
import com.shop.admin.validate.paper.PaperAssignSearchValidate;
import com.shop.admin.validate.commons.PageValidate;
import com.shop.admin.vo.paper.PaperAssignDetailVo;
import com.shop.admin.vo.paper.PaperAssignListedVo;
import com.shop.common.core.PageResult;

/**
 * 考试任务指派服务接口类
 * @author DragonDean
 */
public interface IPaperAssignService {

    /**
     * 考试任务指派列表
     *
     * @author DragonDean
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<PaperAssignListedVo>
     */
    PageResult<PaperAssignListedVo> list(PageValidate pageValidate, PaperAssignSearchValidate searchValidate);

    /**
     * 考试任务指派详情
     *
     * @author DragonDean
     * @param id 主键ID
     * @return PaperAssignDetailVo
     */
    PaperAssignDetailVo detail(Integer id);

    /**
     * 考试任务指派新增
     *
     * @author DragonDean
     * @param createValidate 参数
     */
    void add(PaperAssignCreateValidate createValidate);

    /**
     * 考试任务指派删除
     *
     * @author DragonDean
     * @param id 主键ID
     */
    void del(Integer id);

}
